﻿using FX.CC.Andon.Entity.SystemManage;
using FX.CC.Andon.Service.SystemManage;

namespace FX.CC.Andon.Business.SystemManage
{
    public class WebSetBusiness
    {
        private readonly WebSetService _dal = new WebSetService();

        /// <summary>
        ///  读取配置文件
        /// </summary>
        /// <param name="configFilePath"></param>
        /// <returns></returns>
        public WebSet loadConfig(string configFilePath)
        {
            return _dal.loadConfig(configFilePath);
        }

        /// <summary>
        ///  保存配置文件
        /// </summary>
        /// <param name="mode"></param>
        /// <param name="configFilePath"></param>
        /// <returns></returns>
        public WebSet saveConifg(WebSet mode, string configFilePath)
        {
            return _dal.saveConifg(mode, configFilePath);
        }
    }
}
